package operation;

import book.BookList;

public class ShowOperation implements IOperation{
    @Override
    public void work(BookList bookList) {
        if(bookList.getUsedSize() == 0) {
            System.out.println("目前暂时没有图书，请稍后过来查看...");
            return;
        }
        System.out.println("显示所有图书...");
        bookList.showAllBook();
    }
}